package com.dynabook.ems.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@ConfigurationProperties(prefix = "spring.ems.mail")
public class EmsMailProperties {

    private List<String> importTo;
    private List<String> receiptTo;

    public List<String> getImportTo() {
        return importTo;
    }

    public void setImportTo(List<String> importTo) {
        this.importTo = importTo;
    }

    public List<String> getReceiptTo() {
        return receiptTo;
    }

    public void setReceiptTo(List<String> receiptTo) {
        this.receiptTo = receiptTo;
    }
}